package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.FxObasicBean;

/**
* 描述：获取海外外汇基础信息，目前只有FXCM交易商的数据
* @author: codesmith
**/
@Data
@TableName("fx_obasic")
public class FxObasicEntity implements FxObasicBean {
    
    /*
    * 外汇代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;

    @TableField("`name`") protected String name;

    @TableField("`classify`") protected String classify;

    @TableField("`exchange`") protected String exchange;

    @TableField("`min_unit`") protected Double minUnit;

    @TableField("`max_unit`") protected Double maxUnit;

    @TableField("`pip`") protected Double pip;

    @TableField("`pip_cost`") protected Double pipCost;

    @TableField("`traget_spread`") protected Double tragetSpread;

    @TableField("`min_stop_distance`") protected Double minStopDistance;

    @TableField("`trading_hours`") protected String tradingHours;

    @TableField("`break_time`") protected String breakTime;
}